package org.dreamwork.jasmine2.web.controls.pdf.controls;

import org.dreamwork.jasmine2.events.EventException;
import org.dreamwork.jasmine2.web.controls.WebControl;

import java.io.IOException;
import java.io.PrintWriter;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2010-10-13
 * Time: 13:49:55
 */
public class PageNumberControl extends WebControl {
    public PageNumberControl () {
        this.viewStateEnabled = false;
    }

    @Override
    public void render (PrintWriter writer) throws IOException, EventException {
        writer.write ("<span id=\"pagenumber\"/>");
    }
}